<{include file="header.html"}>
<table width="100%" height="100%" cellspacing="1" cellpadding="0" class="tablesl">
  <tr>
    <td height="30" background="images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="46%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[管理员设置]-[管理员列表]</td>
              </tr>
            </table></td>
            <td width="54%">
            <{*
            <table border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                      <input type="checkbox" name="checkAll" id="checkAll" />
                    </div></td>
                    <td class="STYLE1"><div align="center"><label for="checkAll">全选</label></div></td>
                  </tr>
                </table></td>
                <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><a href="<{spUrl c=admins a=creatadmins}>" style="display:block"><img src="images/add.gif" width="48" height="19" align="absmiddle" /></a></div></td>
                    <td class="STYLE1"><div align="center"></div></td>
                  </tr>
                </table></td>
                <td width="60"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <form action="<{spUrl c=admins a=deleteadmins}>" method="POST" id="deleteForm">
                    <td class="STYLE1"><div align="center"><input type="image" src="images/delete.gif" id="deleteAll"></div></td>
                    <td class="STYLE1"><div align="center"></div></td>
                  </tr>
                </table></td>
                 <td width="150"><table width="88%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><input type="text" name="searchkeys" class="searchkeysval" value="<{$searchkeys}>"></div></td>
                    <td class="STYLE1"><div align="top" style="margin-left:7px"><input type="image" value="" src="images/search.gif" class="searchkeys"></div></td>
                  </tr>
                </table>
                </td>
              </tr>
            </table>
            *}>
            </td>
          </tr>
        </table></td>
        <td width="16"><img src="images/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="images/tab_12.gif">&nbsp;</td>
        <td><table class="zx_data_list" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6">
        	<thead>
          <tr>
          	<{*
            <td width="3%" height="22" background="images/bg1.gif" bgcolor="#FFFFFF">
            </td>
            *}>
            <td width="12%" height="22" background="images/bg1.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">序号</span></div></td>
            <td width="12%" height="22" background="images/bg1.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">帐户</span></div></td>
            <td width="12%" height="22" background="images/bg1.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">身份</span></div></td>
			<td width="12%" height="22" background="images/bg1.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">状态</span></div></td>
			<td width="12%" height="22" background="images/bg1.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">操作</span></div></td>
          </tr>
          </thead>
          <tbody>
          <{foreach item=i key=k from=$admin_rs}>
          <tr>
          	<{*
            <td height="20" bgcolor="#FFFFFF">
            	<div align="center">
            		<{if $smarty.session.admin_user.aid != $i.id}>
             		<input type="checkbox" name="id[]" class="checkId" value="<{$i.id}>" />
             		<{/if}>
            	</div>
            </td>
            *}>
            <td height="20" bgcolor="#FFFFFF">
            	<div align="center" class="STYLE1">
              		<div align="center"><{$k+1}></div>
            	</div>
            </td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1"><{$i.username}></span></div></td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1"><{if $i.isadmin}>总管理<{else}>分账号<{/if}></span></div></td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1"><{if $i.admin_status == 1}>正常<{else}>屏蔽<{/if}></span></div></td>
            <td bgcolor="#FFFFFF">
            	<div class="zxcenter">
            		<a href="<{spUrl c=admins a=updateadmins id=$i.id}>"><img src="images/edt.gif" width="16" height="16" align="absmiddle"/>编辑</a></td>
            	</div>
            	<{*
            	<table border="0">
                	<tr>
                    	<td width="120" align="right">
                        	<a href="<{spUrl c=admins a=updateadmins id=$i.id}>"><img src="images/edt.gif" width="16" height="16" align="absmiddle"/>编辑</a></td>
                        <td width="10%">&nbsp;</td>
                        <td width="30%" align="left">
                        	<{if $smarty.session.admin_user.aid!=$i.id}>
                            	<a href="#<{spUrl c=admins a=deleteadmins id=$i.id}>" class="delete"><img src="images/del.gif" width="16" height="16" align="absmiddle"/>删除</a>
                            <{/if}>
                        </td>
                    </tr>
                </table>
                *}>
            </td>
          </tr>
          <{foreachelse}>
			<tr>
            	<td height="20" bgcolor="#FFFFFF" colspan="5"><div style="margin-left:7px; margin-top:10px">无匹配记录</div></td>
			</tr>
          <{/foreach}>
          </tbody>
          <{*
          </form>
          *}>
          <tfoot>
          <tr height="50" bgcolor="#FFFFFF"><td colspan="5">&nbsp;</td></tr>
          </tfoot>
        </table></td>
        <td width="8" background="images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" background="images/tab_19.gif">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="images/tab_18.gif" width="12" height="35" /></td>
        <td>
        	<{include file="pager.html"}>
		</td>
        <td width="16"><img src="images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</div>
</body>
<{include file="footer.html"}>